/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.source.entity.floor;

import com.thinkgem.jeesite.common.persistence.DataEntity;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;

/**
 * 楼层维护Entity
 * @author ZC
 * @version 2017-07-06
 */
@XmlRootElement(name="node") 
public class FloorNode extends DataEntity<FloorNode> {
	
	private static final long serialVersionUID = 1L;
	private String groupId;		// 楼层组
	private String floorId;		// 物理楼层
	private String floorimg;		// 对应图片
	
	public FloorNode() {
		super();
	}

	public FloorNode(String id){
		super(id);
	}
	public FloorNode(String floorId, String floorimg){
		this.floorId = floorId;
		this.floorimg = floorimg;
	}

	@XmlTransient
	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	@XmlAttribute(name="id")
	public String getFloorId() {
		return floorId;
	}

	public void setFloorId(String floorId) {
		this.floorId = floorId;
	}

	@XmlElement
	public String getFloorimg() {
		return floorimg;
	}

	public void setFloorimg(String floorimg) {
		this.floorimg = floorimg;
	}
	
}